package com.zhangfeng.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class DemoController {

	@RequestMapping(value="/hello")
	public String hello(){
		return "demo/helloworld";
	}
	
	@RequestMapping(value="/vifelseshow")
	public String vifelseshow(){
		return "demo/vifelseshow";
	}
	
	
	@RequestMapping(value="/vfor")
	public String vfor(){
		return "demo/vfor";
	}
	
	@RequestMapping(value="/vtextheml")
	public String texthtml(){
		return "demo/texthtml";
	}
	
	@RequestMapping(value="/von")
	public String von(){
		return "demo/von";
	}
	
	@RequestMapping(value="/vmodel")
	public String vmodel(){
		return "demo/vmodel";
	}
	
	@RequestMapping(value="/vbind")
	public String vbind(){
		return "demo/vbind";
	}
	
	@RequestMapping(value="/vprecloakonce")
	public String vprecloakonce(){
		return "demo/vprecloakonce";
	}
	
	@RequestMapping(value="/vdirective")
	public String vdirective(){
		return "demo/vdirective";
	}
	
	@RequestMapping(value="/vextend")
	public String vextend(){
		return "demo/vextend";
	}
	
	@RequestMapping(value="/vueset")
	public String vueset(){
		return "demo/vueset";
	}
	
	@RequestMapping(value="/vuelifecycle")
	public String vuelifecycle(){
		return "demo/vuelifecycle";
	}
	
	@RequestMapping(value="/vuetemplate")
	public String vuetemplate(){
		return "demo/vuetemplate";
	}
	
	@RequestMapping(value="/component")
	public String component(){
		return "demo/component-1";
	}
	
	@RequestMapping(value="/component-2")
	public String component2(){
		return "demo/component-2";
	}
	
	@RequestMapping(value="/component-3")
	public String component3(){
		return "demo/component-3";
	}
	
	@RequestMapping(value="/component-4")
	public String component4(){
		return "demo/component-4";
	}
	
	@RequestMapping(value="/propsData")
	public String propsData(){
		return "demo/propsData";
	}
	
	@RequestMapping(value="/computed")
	public String computed(){
		return "demo/computed";
	}
	
	@RequestMapping(value="/methods")
	public String methods(){
		return "demo/methods";
	}
}
